package com.ayq.activiti.manager.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *
 * <p>节点信息</p>
 * @Author ayq
 * @Date 2021/4/16 9:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "节点信息实体",description = "节点信息实体")
public class NodeInfoEntity  implements Serializable{

    private static final long serialVersionUID = -5882388609455759111L;

    @ApiModelProperty("视图中x坐标")
    private String x;

    @ApiModelProperty("视图中y坐标")
    private String y;

    @ApiModelProperty("开始节点宽度")
    private String width;

    @ApiModelProperty("开始节点高度")
    private String height;

    @ApiModelProperty("节点类型 1 开始节点 2 用户任务节点 3 服务任务节点 4 手工任务节点 5 排他网关 6 并行网关 7结束节点")
    private Integer nodeType;

    @ApiModelProperty("当前节点任务ID")
    private String taskId;

    @ApiModelProperty("当前节点运行ID")
    private String executId;

    @ApiModelProperty("当前节点活动ID")
    private String activitiId;

    @ApiModelProperty("申请人信息")
    private ActivitiApplyManagerEntity activitiApplyManagerEntity;

    @ApiModelProperty("审批信息")
    private ApprovalecordEntity approvalecordEntity;

}
